package nc.bs.sj.busimpl;

import nc.bs.sj.process.GatherBillDataProcess;
import nc.bs.sj.process.MarbasclassProcess;
import nc.bs.sj.process.PayBillDataProcess;
import nc.bs.sj.process.UserTokenProcess;
import nc.itf.sj.interfaces.IBaseDataSynDealService;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class BaseDataSynDealImpl implements IBaseDataSynDealService {

	@Override
	public JSONObject user_token(String sid,String data) throws Exception {
		UserTokenProcess p= new UserTokenProcess();
		return p.process(sid, data);
	}

	@Override
	public JSONObject payaction(JSONArray data) throws Exception {
		PayBillDataProcess  pay=new PayBillDataProcess();
		return pay.process(data);
	}

	@Override
	public JSONObject gatherbill(JSONArray data) throws Exception {
		// TODO Auto-generated method stub
		GatherBillDataProcess gbd= new GatherBillDataProcess();
		return gbd.process(data);
	}

	@Override
	public JSONObject marbasclass(JSONArray data) throws Exception {
		MarbasclassProcess mar= new MarbasclassProcess();
		return mar.process(data);
	}

}
